package com.cwf.security.dao;


import com.cwf.security.entity.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * (Permission)表数据库访问层
 *
 * @author makejava
 * @since 2023-02-04 04:12:27
 */
@Mapper
public interface PermissionListDao {

    /**
     * 通过用户id查询权限列表
     *
     * @param uid 用户id
     * @return 实例对象
     */
    List<Permission> accessList(String uid);


}

